package br.com.unieuro.facade;

import java.util.ArrayList;

import br.com.unieuro.dao.CameraDAO;
import br.com.unieuro.dominio.Camera;

public class ManterCameraFacade {

	public void salvarCamera(Camera camera){
		CameraDAO dao = new CameraDAO();
		dao.salvar(camera);
	}
	public ArrayList<Camera> pesquisarCameras(){
		CameraDAO dao = new CameraDAO();
		return dao.listarCameras();
	}
	public void update(Camera camera){
		CameraDAO dao = new CameraDAO();
		dao.update(camera);
	}
	public void excluir(Camera camera){
		CameraDAO dao = new CameraDAO();
		dao.excluir(camera);
	}

}
